package com.example.test3.service.Impl;

import com.example.test3.entity.User;
import com.example.test3.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.example.test3.dao.UserMapper;
@Service
public class UserServiceImpl implements UserService {

    @Autowired
    public UserMapper userMapper;

    @Override
    public User findOne(Long id) {
        return userMapper.findOne(id);
    }
}
